import { Injectable } from '@nestjs/common';

@Injectable()
export class AppService {
  getSummary(numbers: number[]): number {
    return numbers.reduce((total, curr) => total + curr, 0);
  }
}
